package com.codeduck.account.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2022-08-19
 */
@Data
@TableName("t_account")
public class AccountDO implements Serializable {
    private static final long serialVersionUID = -5203587373303631335L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String userId;
    private BigDecimal money;
}
